package cn.wdm.org.service;

import cn.wdm.org.domain.Shop;
import cn.wdm.basic.service.IBaseService;
import cn.wdm.org.domain.ShopAuditLog;
import cn.wdm.org.vo.ShopVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author laozhang
 * @since 2022-06-12
 */
public interface IShopService extends IBaseService<Shop> {
    /**
     *店铺入驻
     * @param shop
     */
    void settlement(Shop shop);
    /**
     *审核通过
     * @param shopAuditLog
     */
    void pass(ShopAuditLog shopAuditLog);
    /**
     * 审核驳回
     * @param shopAuditLog
     */
    void reject(ShopAuditLog shopAuditLog);

    /**
     * 批量新增
     * @param shops
     */
    void savaBatch(List<Shop> shops);

    /**
     * 获取echart报表
     * @return
     */
    List<ShopVo> getEcharts();
}
